POV-Ray : Newsgroups : povray.binaries.images : Drunken Bricks 55kbu : Re: Drunken Bricks 55kbu Server Time
19 Aug 2024 12:24:13 EDT (-0400)
  Re: Drunken Bricks 55kbu  
From: Anton Sherwood
Date: 15 Jan 2001 02:37:13
Message: <3A62AAB1.D28CF104@pobox.com>
> Dearmad <dea### [at] teleportcom> wrote
> > is that your texturing on it or is that a moire pattern I see? 

Alan Holding wrote:
> Every brick was given a random pigment and slightly different
> normal, the code being:
> 
> texture {
> pigment {rgb <rand(seed),rand(seed),rand(seed)>/2+0.5}
> finish {phong 1 phong_size 75 ambient 0.2 diffuse 0.7 metallic}
> normal {granite 0.25 scale 0.05 turbulence 0.02
>	translate rand (seed)*2}
> }
> 
> which gave a nice pastel look to them, I think.

Ah, and assuming that rand() is a typical linear type (why can't i find
it in the doc?!), one would expect vague stripes to show up.

Why not apply the normal to the wall as a whole?

-- 
Anton Sherwood  --  br0### [at] p0b0xcom  --  http://ogre.nu/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.